<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>管理界面</title>
    <link rel="stylesheet" href="../css/layui.css">
    <script src="../layui.js"></script>

</head>

<body>
    <script>
        layui.use('element', function () {
            var element = layui.element;
        })
    </script>
    <div class="layui-layout layui-layout-admin">
        <div class="layui-header">
            <div class="layui-logo layui-bg-black">layout demo</div>
            <ul class="layui-nav layui-layout-left">
                <li class="layui-nav-item"><a href="javascript:;">nav1</a></li>
                <li class="layui-nav-item  layui-this"><a href="javascript:;">nav2</a></li>
                <li class="layui-nav-item"><a href="javascript:;">nav3</a></li>
                <li class="layui-nav-item">
                    <a href="javascript:;">nav groups</a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;">nav groups-child1</a></dd>
                        <dd><a href="javascript:;">nav groups-child2</a></dd>
                        <dd><a href="javascript:;">nav groups-child3</a></dd>
                    </dl>
                </li>
            </ul>
            <ul class="layui-nav layui-layout-right">
                <li class="layui-nav-item">
                    <a href="javascript:;"><img src="./images/logo.gif" class="layui-nav-img">tester</a>
                    <dl class="layui-nav-child layui-nav-child-c">
                        <dd><a href="javascript:;">修改信息</a></dd>
                        <dd><a href="javascript:;">安全管理</a></dd>
                        <dd><a href="javascript:;">退出</a></dd>
                    </dl>
                </li>
                <i class="layui-icon layui-icon-more-vertical"></i>
            </ul>
        </div>
        <div class="layui-side layui-bg-black">
            <ul class="layui-nav layui-nav-tree" lay-shrink="all">
                <li class="layui-nav-item">
                    <a href="javascript:;">menu group1</a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;">groups-child1</a></dd>
                        <dd><a href="javascript:;">groups-child2</a></dd>
                        <dd><a href="javascript:;">groups-child3</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">menu group2</a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;">groups-child1</a></dd>
                        <dd><a href="javascript:;">groups-child2</a></dd>
                        <dd><a href="javascript:;">groups-child3</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item"><a href="javascript:;">click menu item</a></li>
                <li class="layui-nav-item"><a href="javascript:;">the links</a></li>
            </ul>
        </div>
        <div class="layui-body">内容主体区域。记得修改layui.css和js的路径</div>
        <div class="layui-footer ">底部固定区域</div>
    </div>

</body>

</html>